package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long id;

    private String proName;

    private BigDecimal proCostprice;

    private BigDecimal proSaleprice;

    private String brand;

    private String photo;

    private String info;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setProCostprice(BigDecimal proCostprice) 
    {
        this.proCostprice = proCostprice;
    }

    public BigDecimal getProCostprice() 
    {
        return proCostprice;
    }
    public void setProSaleprice(BigDecimal proSaleprice) 
    {
        this.proSaleprice = proSaleprice;
    }

    public BigDecimal getProSaleprice() 
    {
        return proSaleprice;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("proName", getProName())
            .append("proCostprice", getProCostprice())
            .append("proSaleprice", getProSaleprice())
            .append("brand", getBrand())
            .append("photo", getPhoto())
            .append("info", getInfo())
            .toString();
    }
}
